# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :user do
    sequence(:email) { |n| "user#{n}@mail.com" }
    password 'qwe123'
    sequence(:name) { |n|"user#{n} lannister" }
    hometown 'Casterly Rock'
  end
end
